{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "70pYkR9LiOV0"
   },
   "source": [
    "# Markdown 语法简介\n",
    "\n",
    "由于Markdown的轻量化、易读易写特性，并且对于图片，图表、数学式都有支持，目前许多网站都广泛使用Markdown来撰写帮助文档或是用于论坛上发表消息。如GitHub、Reddit、Diaspora、Stack Exchange、OpenStreetMap 、SourceForge、简书等，甚至还能被用来撰写电子书。"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "Lhfnlq1Surtk"
   },
   "source": [
    "Markdown | Preview\n",
    "--- | ---\n",
    "`**bold text**` | **bold text**\n",
    "`*italicized text*` or `_italicized text_` | *italicized text*\n",
    "`` `Monospace` `` | `Monospace`\n",
    "`~~strikethrough~~` | ~~strikethrough~~\n",
    "`[A link to Baidu](https://www.baidu.com)` | [A link to Baidu](https://www.baidu.com)\n",
    "`![An image](https://www.google.com/images/rss.png)` | ![An image](https://www.google.com/images/rss.png)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "Lhfnlq1Surtk"
   },
   "source": [
    "---\n",
    "## 标题\n",
    "\n",
    "```markdown\n",
    "# Section 1\n",
    "# Section 2\n",
    "## Sub-section under Section 2\n",
    "### Sub-section under the sub-section under Section 2\n",
    "# Section 3\n",
    "```\n",
    "\n",
    "# Section 1\n",
    "# Section 2\n",
    "## Sub-section under Section 2\n",
    "### Sub-section under the sub-section under Section 2\n",
    "# Section 3"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "Lhfnlq1Surtk"
   },
   "source": [
    "---\n",
    "\n",
    "## 有序列表\n",
    "```markdown\n",
    "1. One\n",
    "1. Two\n",
    "1. Three\n",
    "```\n",
    "1. One\n",
    "1. Two\n",
    "1. Three"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "Lhfnlq1Surtk"
   },
   "source": [
    "---\n",
    "\n",
    "## 无序列表\n",
    "\n",
    "```markdown\n",
    "* One\n",
    "* Two\n",
    "* Three\n",
    "```\n",
    "* One\n",
    "* Two\n",
    "* Three"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "Lhfnlq1Surtk"
   },
   "source": [
    "---\n",
    "\n",
    "## 数学公式\n",
    "\n",
    "```markdown\n",
    "$y=x^2$\n",
    "\n",
    "$e^{i\\pi} + 1 = 0$\n",
    "\n",
    "$e^x=\\sum_{i=0}^\\infty \\frac{1}{i!}x^i$\n",
    "\n",
    "$\\frac{n!}{k!(n-k)!} = {n \\choose k}$\n",
    "\n",
    "$A_{m,n} =\n",
    " \\begin{pmatrix}\n",
    "  a_{1,1} & a_{1,2} & \\cdots & a_{1,n} \\\\\n",
    "  a_{2,1} & a_{2,2} & \\cdots & a_{2,n} \\\\\n",
    "  \\vdots  & \\vdots  & \\ddots & \\vdots  \\\\\n",
    "  a_{m,1} & a_{m,2} & \\cdots & a_{m,n}\n",
    " \\end{pmatrix}$\n",
    "```\n",
    "\n",
    "$y=x^2$\n",
    "\n",
    "$e^{i\\pi} + 1 = 0$\n",
    "\n",
    "$e^x=\\sum_{i=0}^\\infty \\frac{1}{i!}x^i$\n",
    "\n",
    "$\\frac{n!}{k!(n-k)!} = {n \\choose k}$\n",
    "\n",
    "$A_{m,n} =\n",
    " \\begin{pmatrix}\n",
    "  a_{1,1} & a_{1,2} & \\cdots & a_{1,n} \\\\\n",
    "  a_{2,1} & a_{2,2} & \\cdots & a_{2,n} \\\\\n",
    "  \\vdots  & \\vdots  & \\ddots & \\vdots  \\\\\n",
    "  a_{m,1} & a_{m,2} & \\cdots & a_{m,n}\n",
    " \\end{pmatrix}$"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "Lhfnlq1Surtk"
   },
   "source": [
    " ---\n",
    "\n",
    "## 表格\n",
    "\n",
    "```markdown\n",
    "First column name  | Second column name \n",
    "-------------------|------------------\n",
    "Row 1, Col 1       | Row 1, Col 2 \n",
    "Row 2, Col 1       | Row 2, Col 2 \n",
    "\n",
    "```\n",
    "\n",
    "First column name  | Second column name \n",
    "-------------------|------------------\n",
    "Row 1, Col 1       | Row 1, Col 2 \n",
    "Row 2, Col 1       | Row 2, Col 2 "
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "Lhfnlq1Surtk"
   },
   "source": [
    "---\n",
    "## 水平线\n",
    "\n",
    "```markdown\n",
    "---\n",
    "```\n",
    "\n",
    "---"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "colab": {
   "collapsed_sections": [],
   "name": "Markdown Guide",
   "provenance": []
  },
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.3"
  },
  "varInspector": {
   "cols": {
    "lenName": 16,
    "lenType": 16,
    "lenVar": 40
   },
   "kernels_config": {
    "python": {
     "delete_cmd_postfix": "",
     "delete_cmd_prefix": "del ",
     "library": "var_list.py",
     "varRefreshCmd": "print(var_dic_list())"
    },
    "r": {
     "delete_cmd_postfix": ") ",
     "delete_cmd_prefix": "rm(",
     "library": "var_list.r",
     "varRefreshCmd": "cat(var_dic_list()) "
    }
   },
   "types_to_exclude": [
    "module",
    "function",
    "builtin_function_or_method",
    "instance",
    "_Feature"
   ],
   "window_display": false
  }
 },
 "nbformat": 4,
 "nbformat_minor": 1
}
